package com.ddpt.platform.common.exception.error;

import com.ddpt.platform.common.exception.ErrorCodeDefinition;

/**
 * 用户服务异常定义
 * 10001 - 19999
 */
public enum UserErrorEnum implements ErrorCodeDefinition {
    insert_info_check(90000,"您所属机构已创建厅堂有礼，请勿重复创建。"),
    insert_check(90001,"新建校验异常，手机号重复。"),
    up_status_check(90002,"批量启用/禁用，参数错误。"),
    empty_excel_check(90002,"模版数据为空请重新上传。"),
    ;

    private final int code;
    private final String remark;

    UserErrorEnum(int code, String remark) {
        this.code = code;
        this.remark = remark;
    }

    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getRemark() {
        return remark;
    }
}
